package com.zx.chatroom.po;

import javax.persistence.*;
import java.util.Date;


/**
 * UserExt entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_userext"
    
)

public class UserExt  implements java.io.Serializable {


    // Fields    

     private String id;
     private Date birthday;
     private Date enterDate;
     private String education;
     private String specialty;
     private String protitle;
     private String sex;
     private String mobile;
     private String email;
     private String school;
     private String ip;
     private String remark;


    // Constructors

    /** default constructor */
    public UserExt() {
    }

	/** minimal constructor */
    public UserExt(String id) {
        this.id = id;
    }
    
    /** full constructor */
    public UserExt(String id, Date birthday, Date enterDate, String education, String specialty, String protitle, String sex, String mobile, String email, String school, String ip, String remark) {
        this.id = id;
        this.birthday = birthday;
        this.enterDate = enterDate;
        this.education = education;
        this.specialty = specialty;
        this.protitle = protitle;
        this.sex = sex;
        this.mobile = mobile;
        this.email = email;
        this.school = school;
        this.ip = ip;
        this.remark = remark;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="BIRTHDAY", length=10)

    public Date getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="ENTERDATE", length=10)

    public Date getEnterDate() {
        return this.enterDate;
    }
    
    public void setEnterDate(Date enterDate) {
        this.enterDate = enterDate;
    }
    
    @Column(name="EDUCATION", length=16)

    public String getEducation() {
        return this.education;
    }
    
    public void setEducation(String education) {
        this.education = education;
    }
    
    @Column(name="SPECIALTY", length=32)

    public String getSpecialty() {
        return this.specialty;
    }
    
    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }
    
    @Column(name="PROTITLE", length=30)

    public String getProtitle() {
        return this.protitle;
    }
    
    public void setProtitle(String protitle) {
        this.protitle = protitle;
    }
    
    @Column(name="SEX", length=16)

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }
    
    @Column(name="MOBILE", length=16)

    public String getMobile() {
        return this.mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    
    @Column(name="EMAIL", length=64)

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    
    @Column(name="SCHOOL", length=100)

    public String getSchool() {
        return this.school;
    }
    
    public void setSchool(String school) {
        this.school = school;
    }
    
    @Column(name="IP", length=15)

    public String getIp() {
        return this.ip;
    }
    
    public void setIp(String ip) {
        this.ip = ip;
    }
    
    @Column(name="REMARK", length=100)

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
   








}